<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2018. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Java Building Preferences</title>
<link rel="stylesheet" href="../../../../book.css" charset="ISO-8859-1" type="text/css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script>
</head>
<body>
<h1>Java Building Preferences</h1>
<p>Indicate your preferences for the Building settings on the <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.JavaBuildPreferencePage)")'> <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="Opens the Building preference page"><b> Java &gt; Compiler &gt; Building </b></a> preference page.</p>
<h3>General</h3>
<table border="1" cellspacing="0" cellpadding="5" width="100%" summary="General section">
	<tr>
		<th>
		<p>Option</p>
		</th>
		<th>
		<p>Description</p>
		</th>
		<th>
		<p>Default</p>
		</th>
	</tr>
	<tr>
		<td valign="top">
		<p>Maximum number of reported problems per compilation unit</p>
		</td>
		<td valign="top">
		<p>Specifies how many problems should be reported for a compilation unit.</p>
		</td>
		<td valign="top">
		<p>100</p>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<p>Enable use of exclusion patterns in source folders</p>
		</td>
		<td valign="top">
		<p>When disabled, no entry on a project classpath can be associated with an exclusion pattern.</p>
		</td>
		<td valign="top">
		<p>On</p>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<p>Enable use of multiple output locations for source folders</p>
		</td>
		<td valign="top">
		<p>When disabled, no entry on a project classpath can be associated with a specific output location, preventing thus usage of multiple output locations.</p>
		</td>
		<td valign="top">
		<p>On</p>
		</td>
	</tr>
</table>
<h3>Build path problems</h3>
<table border="1" cellspacing="0" cellpadding="5" width="100%" summary="Build path problems section">
	<tr>
		<td valign="top">
		<p>Abort build when build path errors occur</p>
		</td>
		<td valign="top">
		<p>Allow to toggle the builder to abort if the classpath is invalid.</p>
		</td>
		<td valign="top">
		<p>On</p>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<p>Incomplete build path</p>
		</td>
		<td valign="top">
		<p>Indicate the severity of the problem reported when an entry on the classpath does not exist, is not legitimate or is not visible (e.g. a reference project is closed).</p>
		</td>
		<td valign="top">
		<p>Error</p>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<p>Circular dependencies</p>
		</td>
		<td valign="top">
		<p>Indicate the severity of the problem reported when a project is involved in a cycle.</p>
		</td>
		<td valign="top">
		<p>Error</p>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<p>Incompatible required binaries</p>
		</td>
		<td valign="top">
		<p>Indicate the severity of the problem reported when a project requires another project
		or library with an incompatible target JDK level (e.g. a project using 1.4 compiler compliance,
		but compiled against 1.5 system libraries on the build path).</p>
		</td>
		<td valign="top">
		<p>Ignore</p>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<p>Output location overlaps source location</p>
		</td>
		<td valign="top">
		<p>Indicated the severity of the problem reported when a source entry's output location overlaps another
	 	source entry.</p>
		</td>
		<td valign="top">
		<p>Error</p>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<p>No strictly compatible JRE for execution environment available</p>
		</td>
		<td valign="top">
		<p>Indicate the severity of the problem reported when project's build path contains
			an execution environment for which there is no strictly compatible JRE available in the
			workspace (e.g. a project using execution environment JavaSE-1.6 as JRE System Library,
			but the only Installed JREs available in the preferences are 1.7 and 1.8.</p>
		</td>
		<td valign="top">
		<p>Ignore</p>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<p>Compiler Compliance does not match used JRE</p>
		</td>
		<td valign="top">
		<p>Indicate the severity of the problem reported when project's used JRE does not match the 
		    compiler compliance level selected. (e.g. a project using JRE 1.8 as JRE System Library,
			and the compiler compliance is set to 1.7). If the JRE being used is 9 or above and the --release 
			option is selected and even if the complier compliance does not match the JRE being used, this 
			option will be ignored.</p>
		</td>
		<td valign="top">
		<p>Warning</p>
		</td>
	</tr>
</table>
<h3>Output folder</h3>
<table border="1" cellspacing="0" cellpadding="5" width="100%" summary="Output folder section">
	<tr>
		<td valign="top">
		<p>Duplicated resources</p>
		</td>
		<td valign="top">
		<p>Indicate the severity of the problem reported when more than one occurrence of a resource is to be copied into the output location.</p>
		</td>
		<td valign="top">
		<p>Warning</p>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<p>Scrub output folders when cleaning projects</p>
		</td>
		<td valign="top">
		<p>Indicate whether the Java Builder is allowed to clean the output folders when performing full build operations.</p>
		</td>
		<td valign="top">
		<p>On</p>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<p>Rebuild class files modified by others</p>
		</td>
		<td valign="top">
		<p>Indicate whether class files which have been modified by others should be rebuilt to undo the modification.</p>
		</td>
		<td valign="top">
		<p>Off</p>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<p>Filtered resources</p>
		</td>
		<td valign="top">
		<p>A comma separated list of file patterns which are not copied to the output folder.&nbsp;</p>
		</td>
		<td valign="top">
		<p>Empty</p>
		</td>
	</tr>
</table>
<h3 class="related">Related concepts</h3>
<a href="../../../../concepts/concept-java-builder.htm">Java builder</a><br>
<a href="../../../../concepts/concept-inclusion-exclusion-patterns.htm">Inclusion and exclusion patterns</a><br>
<a href="../../../../concepts/concept-build-classpath.htm">Build classpath</a>
</body>
</html>
